﻿#pragma once

#define _USE_MATH_DEFINES
#include "../../MirControls/MirControl.h"
#include "../../MirControls/MirImageControl.h"
#include <cmath>

namespace S = ServerPackets;
using namespace Client::MirControls;
using namespace Client::MirGraphics;

namespace Client::MirScenes::Dialogs
{
    class CompassDialog : public MirControl
    {
    public:
        Point *Destination = Point::Empty;

    private:
        MirImageControl *const _image;

    public:
        virtual ~CompassDialog()
        {
            delete Destination;
            delete _image;
        }

        CompassDialog();

        void ClearPoint();

        void SetPoint(Point *point);

        void Process();
    };
}
